#include<iostream>
#include<string>
using namespace std;
int countVowels(const char* p)
{
	int count=0;
	while(*p!='\0')
	{
		if(*p=='a'||*p=='e'||*p=='i'||*p=='o'||*p=='u'||*p=='A'||*p=='E'||*p=='I'||*p=='O'||*p=='U')
		{
			count++;
		}
		p++;
	}
	return count;
}
int main()
{
	string str;
	cout<<"请输入一行字符串：";
	getline(cin,str);
	const char* p=str.c_str();
	int re=countVowels(p);
	cout<<"Number of vowels "<<re<<endl;
	return 0;
}